{extend name="base" /}
{block name="body"}

<div class="layui-form">
    <div class="layui-col-md6">
        <div class="layui-form-item">
            <label class="layui-form-label">订单号：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.order_sn|default=''}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品名称：</label>
            <div class="layui-form-mid layui-word-aux" style="width: 300px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
                {$data.goods_name|default=''}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">数量：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.goods_number|default=''}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">时间：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.pay_time|date='Y-m-d'}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">地址：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.city|default=''}{$data.address|default=''}
            </div>
        </div>
    </div>
    <div class="layui-col-md6">
        <div class="layui-form-item">
            <label class="layui-form-label">收件人：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.consignee|default=''}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.mobile|default=''}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">应付款：</label>
            <div class="layui-form-mid layui-word-aux">
                {$data.order_amount|default=''}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付状态：</label>
            <div class="layui-form-mid layui-word-aux">
                {if $data.pay_status eq 1}已付款{else}未付款{/if}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发货状态：</label>
            <div class="layui-form-mid layui-word-aux">
               {if $data.shipping_status eq 1}已发货{elseif $data.shipping_status eq 2}已收货{else}未发货{/if}
            </div>
        </div>
    </div>
</div>

{/block}